package r4.pierwszy.raz;

public class Person {

	public Person(String firstName, String lastName, PersonData data) {
		super();
		this.firstName = firstName;
		this.lastName = lastName;
		this.data = data;
	}
	
		public Person() {
		super();
	}

	private String firstName;
	private String lastName;
	private PersonData data = new PersonData();
	public final String getFirstName() {
		return firstName;
	}

	public final String getLastName() {
		return lastName;
	}

	public final PersonData getData() {
		return data;
	}
	
}
